import axios from 'axios';

const findComingSoon = () => {
  return new Promise((resolve, reject) => {
    axios({
      url: '/maoYan/ajax/comingList?ci=57&limit=10&movieIds=&token=&optimus_uuid=FC73507064E811EEB736D5FAF2F9AD1D29485B1124AA46ACAEC2F0B392DC1843&optimus_risk_level=71&optimus_code=10',
      method: 'get',
    })
      .then((res) => {
        console.log(res);
        return resolve(res);
      })
      .catch((err) => {
        console.log(err);
        reject(err);
      });
  });
};

export { findComingSoon };
